package com.hzhq.contract.service;

import com.hzhq.contract.bean.dto.AdminDTO;
import org.bson.types.ObjectId;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author: hzhq1255
 * @mail: hzhq1255@163.com
 * @date: 2021/4/14 21:01
 * @desc:
 */
public interface AdminService {


    Page<AdminDTO> getAllPage(Integer currentPage, Integer pageSize);

    AdminDTO getOneByAdminName(String adminName);

    AdminDTO getOneByAdminId(ObjectId adminId);
}
